import { Service } from 'boot/axios'

// 产品列表
export function prodInfoListApi <T = any>(data: any) {
  return Service<T>({
    url: 'product/prodInfoList',
    method: 'post',
    data
  })
}

// 产品列表匹配
export function getOptimalProductApi <T = any>(data: any) {
  return Service<T>({
    url: 'product/getOptimalProduct',
    method: 'post',
    data
  })
}
// 机构列表匹配
export function getLoanOverProductApi <T = any>(data: any) {
  return Service<T>({
    url: 'product/getLoanOverProduct',
    method: 'post',
    data
  })
}

// 产品点击统计
export function prodClickCountApi <T = any>(data: any) {
  return Service<T>({
    url: 'product/prodClickCount',
    method: 'post',
    data
  })
}

// 产品联登结果
export function getProdUnionResultApi <T = any>(data: any) {
  return Service<T>({
    url: 'product/getProdUnionResult',
    method: 'post',
    data
  })
}
// 产品联登结果
export function getCacheApi <T = any>(data: any) {
  return Service<T>({
    url: 'product/getCache',
    method: 'post',
    data
  })
}
